<template>
	<!-- 无数据状态提示 -->
	<view class="empty">
		<image src="@/static/imgs/empty1.png" mode="widthFix" class="empty__img"></image>
		<view class="empty__tips">{{title}}</view>
	</view>
</template>

<script>
	export default{
		data(){
			return {
					title:this.$t('empty.tips')
			}
		},
		props:{
			tips:{
				type:String,
				default: "空空如也"
			}
		}
	}
</script>

<style lang="scss" scoped>
	.empty{
		@include flexCenter(column);
		padding: 60rpx 0;
		.empty__img{
			width: 300rpx;
			height: 250rpx;
		}
		.empty__tips{
			color: #fff;
			font-size: 30rpx;
			margin-top: 20rpx;
		}
	}
</style>